import request from './request'

// 用户登录
export const reqUserLogin = (userInfo) => {
    return request.get(`user/login?phone=${userInfo.phone}&password=${userInfo.password}`)
}

// 用户注册
export const reqUserRegister = (userInfo) => {
    return request.post('user/register',userInfo)
}